<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<title>初心-交易墙</title>
		<meta name="description" content="" />
		<meta name="author" content="胡 毅鹏" />
		<!--[if lt IE 9]>
			<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->
		<link rel="shortcut icon" href="/favicon.ico" />
        <link rel="stylesheet" href="{{ STATIC_URL }}css/reset.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="{{ STATIC_URL }}css/grid.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="{{ STATIC_URL }}css/master.css" type="text/css" media="screen" />
	</head>
	<body>
		<div>
			<header>
				<div class="container_12">
					<h1><a href="#">初  心</a></h1>
					<nav id="mainNav" >
						<a href="#">首页</a>
						<a href="#" class="selected">交易墙</a>
						<a href="#">图书库</a>
						<a href="#">讨论区</a>
					</nav>
					<form action="/search" method="">
						<input type="text" class="search-query" placeholder="搜索" />
					</form>
					<nav id="sideNav" class="gird_3">
						<a href="login.html">登录</a>
						<a href="signin.html">注册</a>
					</nav>
	
				</div>
			</header>
			<div class="container_12">
				<div class="grid_8 mainside"> 
					<div class="wallpanel">
						<div class="wallhead">
							<h3>交易墙</h3>
						</div>
						<nav class="wallcategory">
							<a href="#" class="selected">全部</a>
							<a href="#">图书</a>
							<a href="#">数码</a>
							<a href="#">衣物饰品</a>
							<a href="#">杂七杂八</a>
						</nav>				
					    <div id="Searchresult">
                            {% if  walllist %}
                            {% for wall in walllist %}
						<div   class="wallcontent" >
							<table cellpadding="0" cellspacing="0" border="0" width="100%">
								<tbody>
									<td valign="top" class="avatar">
                                        <a href="#"><img src="{{ STATIC_URL }}img/icon.png" border="0" /></a>
									</td>
									<td style="padding-left: 12px;" valign="top">
										<div class="fr">
                                            <a href="#" class="reply_count">{{ wall.comments_num }}</a>
										</div>
										<div class="sep3"></div>
										<span  style="font-size: 16px; line-height: 130%; ">
                                            <a href="{% url wall_info wall.id %}">{{ wall.title }}</a>
										</span>
										<div class="sep5"></div>
										<span class="created">
											<strong>
                                                <a href="{% url other_profile wall.user.id %}" class="dark">{{ wall.user.first_name }}</a>
											</strong><span>·</span>
											<strong>
                                                <a href="#" class="node">{{ wall.wallkind.kind_name }}</a>
											</strong><span>·</span>
                                            <span style="color: gray;">更新于&nbsp {{ wall.modify_time }}</span>
										</span>
									</td>
								</tbody>
							</table>
						</div>
                        {% endfor %}
                        {% endif %}
					</div>
					</div>
			    </div>
			    <div class="grid_4 sidebar">
			    	<div class="btnbox">
                        <a href="{% url new_thing %}" class="btn-post">我有闲置物品</a>
			        </div>
			    	
			    	<div class="communityinfo">
			    		<h3>社区告示</h3>
			    		<ul>
			    			<li><a href="#">初心分享功能上线啦！</a></li>
			    			<li><a href="#">你们知道初心吗？</a></li>
			    			<li><a href="#">初心分享功能上线啦！</a></li>
			    			<li><a href="#">初心来了！</a></li>
			    			<li><a href="#">初心分享功能上线啦！</a></li>
			    		</ul>
			    	</div>
			    </div>
			    <div class="clearfix" />
			</div>
			
			<footer class="container_12">
				<nav class="footinfo">
					<a href="#">关于</a>
					<span>·</span>
					<a href="#">联系</a>
					<span>·</span>
					<a href="#">反馈</a>
					<span>&copy;2012 chuxin.me</span>
				</nav>
			</footer>
		</div>
		
		<script src="http://lib.sinaapp.com/js/jquery/1.7/jquery.js" type="text/javascript"></script>		
		<script src="js/jquery.validate.js" type="text/javascript"></script>
		<script src="js/jquery.pagination.js" type="text/javascript"></script>
	</body>
</html>
